{% extends 'sys_manage.html' %}
{% block customcss %}
    {{ block.super }}
    <style>
        h1 {
            font-size: 16px;
            font-weight: 700;
        }

        .layui-fluid {
            background-color: #F2F2F2;
            padding: 15px 15px;
        }
    </style>
{% endblock %}
{% block table %}
    <div class="layui-fluid" id="LAY-app-message-detail">
        <div class="layui-card layuiAdmin-msg-detail">

            <div class="layui-card-header" style="height: 100%">
                <h1>{{ msg_obj.title }}</h1>
                <p><span>{{ msg_obj.push_time }}</span></p>
            </div>
            <div class="layui-card-body layui-text">
                <div class="layadmin-text">

                    {% if refuse %}
                        <p>{{ msg_obj.message }}</p>
                        <p><a href="{{ msg_obj.message_url }}" target="_blank">重新申请</a></p>
                    {% else %}
                        <p><a href="{{ msg_obj.message_url }}" target="_blank">{{ msg_obj.message }}</a></p>
                    {% endif %}

                </div>
                <div style="padding-top: 30px;">
                    <a href="/user/message/2/" class="layui-btn layui-btn-primary layui-btn-sm">查看全部消息</a>
                </div>
            </div>
        </div>
    </div>
{% endblock %}

















